#!/usr/bin/env bash
./wait-for.sh mysql:3306 -t 1000 -- echo "mysql is running..."
./wait-for.sh redis:6379 -t 1000 -- echo "redis is running..."
python manage.py makemigrations
python manage.py migrate
python manage.py collectstatic &
celery -A celery_tasks.main worker -l info -P eventlet &
uwsgi --ini mysite/uwsgi.ini
